firmware/shim: avoid mkdir error during Xen tree setup
authorJan Beulich <jbeulich@suse.com>
Wed, 14 Feb 2018 07:16:00 +0000 (08:16 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 14 Feb 2018 07:16:00 +0000 (08:16 +0100)
commitf25dce4a2adf518678280495712d66e627adec1e
tree493099a45fe3c9d5e8344f9193bede75ab7a9782
parente139d34a1c4b7775d5855458a325e0e4176bdf7e
firmware/shim: avoid mkdir error during Xen tree setup

"mkdir -p" reports a missing operand, as config/ has no subdirs. Oddly
enough this doesn't cause the whole command (and hence the build to
fail), despite the "set -e" now covering the entire set of commands -
perhaps a quirk of the relatively old bash I've seen this with (a few
simple experiments suggest that commands inside () producing a non-
success status would exit the inner shell, but not the outer one).

Add a dummy . argument to the invocation.

Suggested-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/firmware/xen-dir/Makefile